package com.atguigu.userprofile.common.dao;

import com.atguigu.userprofile.common.bean.TaskInfo;
import com.atguigu.userprofile.common.util.MySQLUtil;

public class TaskInfoDAO {


    public  static TaskInfo getTaskInfoById(String taskId){


        TaskInfo taskInfo = MySQLUtil.queryOne("select * from task_info where id='" + taskId + "'", TaskInfo.class, true);
        return taskInfo;
    }
}
